//
//  ODbManager.h
//  OFootball
//
//  Created by 上官千城 on 15/9/22.
//  Copyright (c) 2015年 上官千城. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <sqlite3.h>

static NSString* const SESSION_DOMAIN = @"SESSION";
static NSString* const USER_INFO = @"USER_INFO";

@interface ODbManager : NSObject
{
    @private NSString* _domainName;
}

+(void) initializeDbManager:(NSArray*)domainNames;

+(ODbManager*) getDomainManager:(NSString*)domainName;

-(BOOL) setObject:(NSObject*)objc forKey:(NSString*)aKey;

-(NSObject*) getObject:(NSString*)aKey;

-(BOOL) deleteObject:(NSString*)aKey;

-(NSSet*) allKey;

@end
